//
//  participant.h
//  Kayak
//
//  Created by Labbé Pellegrini, Sébastien on 12-05-24.
//  Copyright 2012 __MyCompanyName__. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "Descente.h"

@interface Participant : NSObject {
	Descente *descente;
//	Descente *deuxiemeDescente;
	NSString *prenom;
	NSString *nom;
	NSString *pays;
	int numero;
    NSNumber *sortValue;
}

- (id) initWithData: (NSString*) _nom : (NSString*) _prenom : (NSString*) _pays : (int) _num; 
- (void) ajouterDescente: (Descente*)parcours;

-(void)demarrerDescente;
-(void)terminerDescente:(bool) didNotFinish;
-(void)ajouterPenaliteManque;
-(void)ajouterpenaliteTouche;
//- (Descente*) getPremiereDescente;
//- (Descente*) getDeuxiemeDescente;
//- (NSString*) getNom;

@property (nonatomic, retain) NSString *nom;
@property (nonatomic, retain) NSString *prenom;
@property (nonatomic, retain) NSString *pays;
@property (nonatomic, retain) Descente *descente;
@property (nonatomic, assign) int numero;
@property (nonatomic, retain) NSNumber *sortValue;
@end
